package com.hzsk.lisence.mapper;


import com.hzsk.lisence.entity.SoftwareSonEntity;
import com.hzsk.lisence.entity.query.SelectByNameQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SoftwareSonMapper {

    List<SoftwareSonEntity>getSoftwareListSonInfo(@Param("lisenceId") Integer lisenceId,@Param("softwareId") Integer softwareId,@Param("saveType") Integer saveType);

    List<SoftwareSonEntity> getSoftwareSonInfoByName(@Param("saveType") Integer saveType,@Param("name") String name);
    Integer saveSoftwareSonInfo(SoftwareSonEntity softwareSonEntity);

    Integer updateSoftwareSonInfo(SoftwareSonEntity softwareSonEntity);

    Integer delSoftwareSonInfo(@Param("id") Integer id);

    List<SoftwareSonEntity> getSoftwareSonInfoSelected(SelectByNameQuery selectByNameQuery);



}
